package com.wxh.order.entity;

import java.util.Date;

/**
 * @author wxh
 */
public class User {
    private long userId;
    private String userName;
    private Date createDate;

    public User error() {
        User user = new User();
        user.setUserId(-1);
        return user;
    }


    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
